package main

import (
	"github.com/gin-gonic/gin"
	"tieba_deseign/db"
	redis "tieba_deseign/middleweare/cache"
	"tieba_deseign/router"
)

func main() {
	db.LinkDb()
	redis.LinkRedis()
	r := gin.Default()
	router.Routerall(r)
	r.Run(":8080")

}
